import { createRouter,createWebHashHistory } from "vue-router";

export default createRouter({
    history:createWebHashHistory(),
    routes:[
        {
            path:"/",
            redirect:"/Login"
        },
        {
            path:"/Login",
            // name:"Login",
            component:()=>import("../views/Login.vue")
        },
        {
            path:"/Admin",
            name:"Admin",
            component:()=>import("../views/Admin/Index.vue"),
            
        }
    ]
})





